package com.example.ssm.model;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Employee implements Serializable {

    private Long id;
    private String lastName;
    private Integer age;
    private String email;
    private String gender;


    public Employee(String lastName, Integer age, String email, String gender) {
        this.lastName = lastName;
        this.age = age;
        this.email = email;
        this.gender = gender;
    }
}
